<template>
   <div id="sth-btn-icon-wrap">
                <span>{{title}}</span>
                <i class="sth-btn-icon" @click.stop="didClickMenus">Customize Columns</i>
              </div>
</template>

<script>
export default {
  props:{
    title:{
      type:String
    }
  },
  methods:{
    didClickMenus(){
      this.$emit('didClickMenus')
    }
  }
}
</script>

<style scoped>
#sth-btn-icon-wrap{
  display: flex;
  justify-content: space-between;
}
</style>